package com.nuoniu.sibanyun.entity.crm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 网站配置
 * </p>
 *
 * @author baiqiang
 * @since 2020-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_web_config")
@ApiModel(value="CrmWebConfig对象", description="网站配置")
public class CrmWebConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "免费用户数")
    @TableField("free_users")
    private Integer freeUsers;

    @ApiModelProperty(value = "网址名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "网站logo")
    @TableField("logo")
    private String logo;

    @ApiModelProperty(value = "图标logo")
    @TableField("icon_logo")
    private String iconLogo;

    @ApiModelProperty(value = "版权信息")
    @TableField("copy")
    private String copy;

    @ApiModelProperty(value = "客服电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "备案序号")
    @TableField("ipc")
    private String ipc;

    @ApiModelProperty(value = "网站状态")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "网站标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "网站背景色")
    @TableField("back_color")
    private String backColor;

    @ApiModelProperty(value = "网站背景图")
    @TableField("back_img_url")
    private String backImgUrl;

    @ApiModelProperty(value = "网站关键词")
    @TableField("key_word")
    private String keyWord;

    @ApiModelProperty(value = "网站描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "短信ID")
    @TableField("access_key_id")
    private String accessKeyId;

    @ApiModelProperty(value = "短信秘钥")
    @TableField("access_secret")
    private String accessSecret;

    @ApiModelProperty(value = "短信签名")
    @TableField("sign_name")
    private String signName;

    @ApiModelProperty(value = "短信模板")
    @TableField("template_code")
    private String templateCode;

    @ApiModelProperty(value = "邮箱账户")
    @TableField("email_address")
    private String emailAddress;

    @ApiModelProperty(value = "邮箱密码")
    @TableField("email_password")
    private String emailPassword;

    @ApiModelProperty(value = "邮箱服务器")
    @TableField("email_server")
    private String emailServer;

    @ApiModelProperty(value = "邮箱端口")
    @TableField("email_port")
    private String emailPort;

    @ApiModelProperty(value = "邮箱状态")
    @TableField("email_type")
    private Boolean emailType;

    @ApiModelProperty(value = "支付宝APPID")
    @TableField("app_id")
    private String appId;

    @ApiModelProperty(value = "支付宝公钥")
    @TableField("alipay_public_key")
    private String alipayPublicKey;

    @ApiModelProperty(value = "支付宝私钥")
    @TableField("merchant_private_key")
    private String merchantPrivateKey;

    @ApiModelProperty(value = "支付宝同步回调")
    @TableField("return_url")
    private String returnUrl;

    @ApiModelProperty(value = "支付宝异步回调")
    @TableField("notify_url")
    private String notifyUrl;

    @ApiModelProperty(value = "支付宝开关(0:关闭 1:开启)")
    @TableField("alipay_type")
    private Boolean alipayType;

    @ApiModelProperty(value = "描述")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "网站状态(0:关闭 1:开启)")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty(value = "网站关闭原因")
    @TableField("cause")
    private String cause;

    @ApiModelProperty(value = "微信APPID")
    @TableField("wx_app_id")
    private String wxAppId;

    @ApiModelProperty(value = "微信公众平台秘钥")
    @TableField("wx_secret")
    private String wxSecret;

    @ApiModelProperty(value = "公众平台支付商户号")
    @TableField("wx_much_id")
    private String wxMuchId;

    @ApiModelProperty(value = "公众平台支付商户秘钥")
    @TableField("wx_secret_key")
    private String wxSecretKey;

    @ApiModelProperty(value = "微信回调地址")
    @TableField("wx_notify_url")
    private String wxNotifyUrl;

    @ApiModelProperty(value = "微信开关(0:关闭 1:开启)")
    @TableField("wx_type")
    private Boolean wxType;

    @ApiModelProperty(value = "邮件签名")
    @TableField("email_sign")
    private String emailSign;

    @ApiModelProperty(value = "发送邮件人名称")
    @TableField("email_name")
    private String emailName;

    @ApiModelProperty(value = "邮件模版")
    @TableField("email_template")
    private String emailTemplate;

    @ApiModelProperty(value = "推广一级奖励")
    @TableField("first_reward")
    private Integer firstReward;

    @ApiModelProperty(value = "推广二级奖励")
    @TableField("second_reward")
    private Integer secondReward;

    @ApiModelProperty(value = "推广三级奖励")
    @TableField("third_reward")
    private Integer thirdReward;

    @ApiModelProperty(value = "推广四级奖励")
    @TableField("fourth_reward")
    private Integer fourthReward;

    @ApiModelProperty(value = "提现额度")
    @TableField("withdrawal_limit")
    private Integer withdrawalLimit;

    @ApiModelProperty(value = "是否开启推广奖励(1开启 0关闭)")
    @TableField("is_reward")
    private Boolean isReward;

    @ApiModelProperty(value = "推广方法")
    @TableField("extension_method")
    private String extensionMethod;

    @ApiModelProperty(value = "佣金规则")
    @TableField("commission_rules")
    private String commissionRules;

    @ApiModelProperty(value = "分享标题")
    @TableField("share_title")
    private String shareTitle;

    @ApiModelProperty(value = "分享图片")
    @TableField("share_img")
    private String shareImg;

    @ApiModelProperty(value = "分享描述")
    @TableField("share_remark")
    private String shareRemark;

    @ApiModelProperty(value = "分享链接")
    @TableField("share_url")
    private String shareUrl;

    @ApiModelProperty(value = "分享内容")
    @TableField("share_content")
    private String shareContent;
}